package com.erp.service.impl;

import com.erp.entity.User;
import com.erp.mapper.UserMapper;
import com.erp.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public void add(User user) {
       userMapper.insert(user);
    }
}
